package com.zte.claa.inficombo.csa.app.service.rptparse;

public class AppCmdWrapper {
	private String appeui;
	private String deveui;
	private String devtypeid;
	private boolean confirm = false;
	private int port = 0;
	private AppCommand payload;
	
	public AppCmdWrapper(){
		
	}

	public String getAppeui() {
		return appeui;
	}

	public void setAppeui(String appeui) {
		this.appeui = appeui;
	}

	public String getDeveui() {
		return deveui;
	}

	public void setDeveui(String deveui) {
		this.deveui = deveui;
	}

	public String getDevtypeid() {
		return devtypeid;
	}

	public void setDevtypeid(String devtypeid) {
		this.devtypeid = devtypeid;
	}

	public boolean isConfirm() {
		return confirm;
	}

	public void setConfirm(boolean confirm) {
		this.confirm = confirm;
	}

	public int getPort() {
		return port;
	}

	public void setPort(int port) {
		this.port = port;
	}

	public AppCommand getPayload() {
		return payload;
	}

	public void setPayload(AppCommand payload) {
		this.payload = payload;
	}
	
	public String toString(){
		StringBuffer sb = new StringBuffer();
		sb.append("appeui=").append(appeui).append(", ");
		sb.append("deveui=").append(deveui).append(", ");
		sb.append("devtypeid=").append(devtypeid).append(", ");
		sb.append("confirm=").append(confirm).append(", ");
		sb.append("port=").append(port).append(", ");
		sb.append("payload=").append(payload);
		return sb.toString();
	}
}
